package com.example.myapplication.ui.download

/**
 * 文件下载FileDownloadBean表Card
 */
class FileDownloadCard  {

    var id: Int

    var length: Long

    var state: String

    var updateAt: Long

    var downloadState: Byte

    var downloadSize: Long

    constructor(
        id: Int,
        length: Long,
        state: String,
        updateAt: Long,
        downloadState: Byte,
        downloadSize: Long
    ) {
        this.id = id
        this.length = length
        this.state = state
        this.updateAt = updateAt
        this.downloadState = downloadState
        this.downloadSize = downloadSize
    }
    constructor(
        bean: FileDownloadBean
    ) {
        this.id = bean.id
        this.length = bean.length
        this.state = bean.state
        this.updateAt = bean.updateAt
        this.downloadState = bean.downloadState
        this.downloadSize = bean.downloadSize
    }
}